std::string stringReplace(const std:string& input,const std::string& find,const std:string& replaceWith)
{
  std::string strOut(input);
  int curPos = 0;
  int pos;
  while((pos= strOut.find(find,curPos))!=-1)
      {
      strOut.replace(pos,find.size(),replaceWith);
      curPos=pos+replaceWith.size();



      }
return strOut;

}
